/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dtd.structure;

import java.util.Map;
import org.jsoup.Connection;
import org.jsoup.nodes.Document;


/**
 *
 * @author TQD
 */
public interface IConnector {
    public Map<String,String> getCookies(String username, String password);
    public Document getDocument(Map<String, String> cookies);
    public Connection.Response getResponseForCourse(Map<String, String> cookies, String id);
    public Document getAttDocument(Map<String, String> cookies, String url);//Quan
}
